package com.icetec.iceintel.model;
import com.icetec.R;
import com.icetec.iceintel.framework.AppApplication;

import java.util.ArrayList;
import java.util.Calendar;

/**
 * Created by amo on 2015/2/25.
 * 对于灯具，异步任务的参数调整如下
 */
public class ModifyLightParaBgTaskModel {
    enum ModifyType{
        brightness,
        colorTemp;
        @Override
        public String toString() {
            switch (this.ordinal()) {
                case 0:
                    return AppApplication.getShareInstance().getString(R.string.brightness);//"亮度";
                case 1:
                    return AppApplication.getShareInstance().getString(R.string.color_temperature);//"色温";
            }
            return super.toString();
        }
    }

    Calendar startTime;
    Long durationMs;
    int endStatus;
    ModifyType modifyType;
    boolean modificationType;
    ArrayList<String> macStringArratlist;


    public final boolean ModificationType_ascending=true;
    public final boolean ModificationType_descending=false;


    public void setDurationMs(Long durationMs) {
        this.durationMs = durationMs;
    }

    public void setEndStatus(int endStatus) {
        this.endStatus = endStatus;
    }

    public void setStartTime(Calendar startTime) {
        this.startTime = startTime;
    }

    public Calendar getStartTime() {
        return startTime;
    }

    public int getEndStatus() {
        return endStatus;
    }

    public Long getDurationMs() {
        return durationMs;
    }

    public void setModifyType(ModifyType modifyType) {
        this.modifyType = modifyType;
    }

    public ModifyType getModifyType() {
        return modifyType;
    }

    public void setModificationType(boolean modificationType) {
        this.modificationType = modificationType;
    }


    public void setMacStringArratlist(ArrayList<String> macStringArratlist) {
        this.macStringArratlist = macStringArratlist;
    }

    public ArrayList<String> getMacStringArratlist() {
        return macStringArratlist;
    }
}
